﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using DAL;
using TripAssistantDesktop.TripAssistantWCFService;


namespace TripAssistantDesktop.Forms
{
    public class LoginViewModel
    {

        private IList<User> _users;
        private IAssistantService _assistantService; 
        public IList<User> Users
        {
            get { return _users; }
            set { _users = value; }
        }

        public LoginViewModel(IAssistantService assistantService)
        {
            _assistantService = assistantService;
            Users  = _assistantService.GetUsers(); 
        }
    }
}
